package com.example.redisdemo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.redisdemo.entity.Record;

/**
 * @ProjectName: redisdemo
 * @Package: com.example.redisdemo.service
 * @ClassName: RecordService
 * @Author: zlx
 * @Description:
 * @Date: 2022/6/18 0:41
 * @Version: 1.0
 */
public interface RecordService extends IService<Record> {
    Record addRecord(Record record);
    boolean delRecord(String recordId);
    Record putRecord(Record record);
    IPage<Record> getRecordPage(Page page, Record record);
    Record getRecordById(String recordId);
}
